package com.tangweiliang.springboot;

import org.springframework.context.annotation.Conditional;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author :tangweiliang
 * @date : 2022/12/30 17:06
 * 未来的你会感谢现在努力的自己
 */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Conditional(TangweiliangCondition.class)
public @interface ConditionalOnClass {

    String value();
}
